package com.anolesoft.twelvePlan.entity;

import com.anolesoft.twelvePlan.listener.LocalDateTimeDeSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author zyq
 * @date 2022/3/14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mes_gy_info")
public class MesGyInfoDO implements Serializable {
    private static final long serialVersionUID = 3863572552193388271L;
    @TableId
    //private String objuid;
    //private String deliveryType;//交付类型
    //private String jx;//机型
    //private String parentPartId;//父图号
    //private String partId;//图号
    //private Integer djNum;//单机数
    //private String innerWork;//内部分工
    //private String processRoute;//工艺路线
    //private String partType;//零件类型
    //private String jsWorkshop;//接收车间
    //private String deliveryOrder;//交付顺序
    //private String llWorkshop;//来料车间
    //private String llDeliveryOrder;//来料交付顺序
    //private String partName;//零件名称
    //private Integer danzhuangNum;//单装数
    //private String longPeriodPart;//长周期零件
    //private String jmjCategory;//军民机类别
    //private String productFamily;//产品族
    //private String processorsNew;//新工艺员
    //private String junjian;//军检项
    //private String materialBrand;//材料牌号
    //private String materialBrandState;//材料牌号状态
    //private String materialSpecification;//材料规格
    //private String length;//长
    //private String width;//宽
    //private String height;//高
    //private String forgedCastingsCode;//锻铸件代号
    //private String partProperty;//零件特性
    //private String heatTreatType;//热处理类型
    //private String bfcl;//表防处理
    //private String painting;//喷漆
    //private String wash;//清洗
    //private String specialInspect;//特种检查
    //private String sandblasting;//喷砂
    //private String relieveStress;//消除应力
    //private String electroPolishing;//电化学抛光
    //private String others;//其他中间工序
    //private Double weight;//重量（kg）
    //private String remarks;//工艺计划备注
    //private Integer deleteFlag;//删除标记
    //private String createUid;//创建人
    //private LocalDate createTime;//创建时间
    //private String modifyUid;//修改人
    //private LocalDate modifyTime;//修改时间
    //private String deleteUid;//删除人
    //private LocalDate deleteTime;//删除时间
    //private String factoryId;//厂代号
    //private String matching;//配套
    //private String groupingA;//分组
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate checkTime;//公司考核日期
    //private String isExecutable;//是否可执行
    //private String deliverTotal;//交付累计
    //private String deliverState;//交付状态
    //private Integer jxmlStock;//机型毛料库存
    //private Integer mlStockTotal;//毛料库存总数
    //private Integer bcpStockNum;//机型半成品库存
    //private Integer bcpStockTotal;//半成品库存总数
    //private String mesProgress;//mes进度
    //private String outProcess;//涉外工序
    //private String state;//状态
    //private String equal;//等同项
    //private String waixie;//外协
    //private String waixieFactory;//外协厂家
    //private Integer tempPlanNum;//临时计划数（sdw投料数量）
    //private String remarks1;//备注（下达计划的备注）
    //private String moreInfo;//补充说明
    //private String chargePerson;//负责人
    //private String endProduct;//成品
    //private String tools;//工具
    //private String equipment;//设备
    //private String technicalQuality;//技术质量
    //private String blanking;//下料
    //private String outsourcing;//外购
    //private String outCooperation;//外厂协作
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate planTime;//工段计划完成时间
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate actualTime;//计划实际完成时间
    //private String ladong;//拉动
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate ladongCheckTime;//拉动考核日期
    //private String planGrade;//计划等级
    //private String jxmlTotal;//机型毛料累计
    //private String issue;//问题汇总
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate deliverTime;//零件交付日期
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate completionTime;//零件完成日期
    //@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GTM+8")
    //private LocalDate gdcheckTime;//工段完检日期
    //private Integer productStock;//成品库存
    //private String affectedStation;//影响站位
    //private String equalFlag;//等同项标记
    //private Integer putNum;//投产数量
    //private String serialNumber;//序号
    //private String jxbcpTotal; //机型半成品累计
    //private String minpjcId;	//最小批架次主键
    //private String jzjh;    //是否精准计划

    private String objuid;
    private String deliverytype;
    private String jx;
    private String parentpartid;
    private String partid;
    private Integer djnum;
    private String innerwork;
    private String processroute;
    private String parttype;
    private String jsworkshop;
    private String deliveryorder;
    private String llworkshop;
    private String lldeliveryorder;
    private String partname;
    private Integer danzhuangnum;
    private String longperiodpart;
    private String jmjcategory;
    private String productfamily;
    private String processorsnew;
    private String junjian;
    private String materialbrand;
    private String materialbrandstate;
    private String materialspecification;
    private String length;
    private String width;
    private String height;
    private String forgedcastingscode;
    private String partproperty;
    private String heattreattype;
    private String bfcl;
    private String painting;
    private String wash;
    private String specialinspect;
    private String sandblasting;
    private String relievestress;
    private String electropolishing;
    private String others;
    private Double weight;
    private String remarks;
    private Integer deleteflag;
    private String createuid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime createtime;
    private String modifyuid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime modifytime;
    private String deleteuid;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime deletetime;
    private String factoryId;
    private String matching;
    private String groupingA;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime checktime;
    private String isexecutable;
    private String delivertotal;
    private String deliverstate;
    private Integer jxmlstock;
    private Integer mlstocktotal;
    private Integer bcpstocknum;
    private Integer bcpstocktotal;
    private String mesprogress;
    private String outprocess;
    private String equal;
    private String waixie;
    private String waixiefactory;
    private Integer tempplannum;
    private String remarks1;
    private String moreinfo;
    private String chargeperson;
    private String endproduct;
    private String tools;
    private String equipment;
    private String technicalquality;
    private String blanking;
    private String outsourcing;
    private String outcooperation;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime plantime;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime actualtime;
    private String ladong;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime ladongchecktime;
    private String plangrade;
    private String jxmltotal;
    private String issue;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime delivertime;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime completiontime;
    @JsonDeserialize(using = LocalDateTimeDeSerializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime gdchecktime;
    private Integer productstock;
    private String affectedstation;
    private String equalflag;
    private Integer putnum;
    private String jxbcptotal;
    private String minpjcid;
    private String state;
    private String jzjh;
    private String lltotal;
}
